package org.example.repository;

import org.example.entity.COrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface COrderRepository extends JpaRepository<COrder,Long> {

    List<COrder> findAllByUserId(Integer userId);
}
